import 'package:kkhousekeep/generated/json/base/json_field.dart';
import 'package:kkhousekeep/generated/json/home_bill_details_repeat_fee_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class HomeBillDetailsRepeatFeeEntity {
	late double itemCost;

	HomeBillDetailsRepeatFeeEntity();

	factory HomeBillDetailsRepeatFeeEntity.fromJson(Map<String, dynamic> json) => $HomeBillDetailsRepeatFeeEntityFromJson(json);

	Map<String, dynamic> toJson() => $HomeBillDetailsRepeatFeeEntityToJson(this);

	HomeBillDetailsRepeatFeeEntity copyWith({double? itemCost}) {
		return HomeBillDetailsRepeatFeeEntity()
			..itemCost= itemCost ?? this.itemCost;
	}

	@override
	String toString() {
		return jsonEncode(this);
	}
}